export const x = 5;

export function foo() {
  // code
}

export const bar = () => {
  // code
};

export class C {
  public field: string = 'field';

  static {
    // code
  }

  public method() {
    // code
  }
}

// github
var x = 5;
function foo() {}
for(;;);
while(0);
do;while(0);
for(a in b);
for(a of b);
if(true);
if(true); else;
foo: ;
with(foo);
class A { }
var A = class { };
class A { a() { this; } }
var A = class { a() { this; } };
class A { } a;
export const x = 42;
export default 42;

export class Foo {
  public foo: number = 0;
}

export class Foo {
  public foo: number = 0; public bar: number = 1;
}

